package com.ly.hotel.model;


import java.util.Date;

/**
 * 
 */
public class Device implements java.io.Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 7399764850261572883L;
	public static final int ENABLE = 1;
	public static final int STOP = 0;
	public static final int DELETEED = 10;
	
	//运行状态，在线
	public static final int ONLINE = 1;
	//离线
	public static final int OFFLINE = 2;
		//
	private Integer id;
	
	//设备ID
	private String mac;
	
	//状态1:启用,0停用, 10 已删除
	private Integer status;
	
	//分类id
	private Integer categoryId;
	
	//备注
	private String remark;
	
	//软件版本
	private String softVersion;
	
	//创建时间
	private Date createDate;
	
	//连接时间
	private Date connectTime;
	
	//用户名
	private String name;
	
	//ip地址
	private String ipaddr;
	
	//下线时间
	private Date offlineTime;
	
	private String position;
	
	private Date curDate;
	
	private String categoryName;
	
	private Integer runStatus;
	
	private Date startTime;
	private Date endTime;
	
	private Date now;
	
	public Date getNow() {
		return now;
	}

	public void setNow(Date now) {
		this.now = now;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getMac() {
		return mac;
	}

	public void setMac(String mac) {
		this.mac = mac;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getCategoryId() {
		return categoryId;
	}

	public void setCategoryId(Integer categoryId) {
		this.categoryId = categoryId;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getSoftVersion() {
		return softVersion;
	}

	public void setSoftVersion(String softVersion) {
		this.softVersion = softVersion;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public Date getConnectTime() {
		return connectTime;
	}

	public void setConnectTime(Date connectTime) {
		this.connectTime = connectTime;
	}

	public String getIpaddr() {
		return ipaddr;
	}

	public void setIpaddr(String ipaddr) {
		this.ipaddr = ipaddr;
	}

	public Date getOfflineTime() {
		return offlineTime;
	}

	public void setOfflineTime(Date offlineTime) {
		this.offlineTime = offlineTime;
	}

	public Date getCurDate() {
		return curDate;
	}

	public void setCurDate(Date curDate) {
		this.curDate = curDate;
	}

	public String getCategoryName() {
		return categoryName;
	}

	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}

	public Integer getRunStatus() {
		return runStatus;
	}

	public void setRunStatus(Integer runStatus) {
		this.runStatus = runStatus;
	}

	public String getName() {
		return name;
	}

	public void setName(String userName) {
		this.name = userName;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public String getPosition() {
		return position;
	}

	public void setPosition(String position) {
		this.position = position;
	}
			
}
